.process-node-normal__container{
    position: relative;
    .process-node-normal__box{
        display: flex;
        flex-direction: column;
        position: relative;
        animation: fadeInMove 0.5s ease-out;
        &-wrap{
            width: 300px;
            height: 98px;
            background: #fff;
            box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.1); 
            border-radius: 8px;
            cursor: pointer;
            border: 1px solid transparent;
            &.active {
                border: 1px solid $color-primary;
            }
            &.error {
                border: 1px solid #f56c6c;
            }
        } 
        &-top{
            height: 38px;
            border-bottom: 1px solid  #E4E7ED;
            padding-left: 12px;
            padding-right: 8px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            .top_content {
                display: flex;
                align-items: center;
                gap: 4px;
                font-size: 14px;
                font-weight: 500;
                color: #262626;
                line-height: 22px;
                .process-input-icon {
                    font-size: 14px;
                    .icon-fd-link {
                        display: block;
                        transform: rotate(45deg);
                    }
                }
                .process-input-text {
                    max-width: 100%;
                    .text-content {
                        max-width: 200px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }
                }
            }
            .process-close {
                color: #8C8C8C;
            }
        }
        &-content{
            display: flex;
            align-items: center;
            color: #8C8C8C; 
            height: 60px;
            padding-left: 12px;
            // cursor: pointer;
            .process-text {
                color: #8C8C8C;
                .process__cicle,.process__text {
                    color: #262626;
                    margin: 0 4px 0 4px;
                }
            }
            &.process__default-text {
                color: #8C8C8C;
            }
        }
        &-active {
            outline: 1px solid  $color-primary;
        }
    }
    .process-node-normal__children{
        .process-node-normal__container{
            // padding-right: 30px;
        }
    }
}
@keyframes fadeInMove {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.process-node-condition__container{
    position: relative;
    .process-node-condition__children{
        display: flex;
        &-item{
            padding: 30px; 
            padding-bottom: 0;
            position: relative;
            &:only-child {
                padding-top: 0;
            }
            &:first-child{
                padding-left: 0;
            }
            &-line{
                position: absolute;
                height: 2px;// 默认为中间分支的的竖线，高度100%
                width: 100%;
                left: 40px;
                top: 0;
                background-color: #dedede;
                &.bottom-line{
                    top: 100%;
                }

                &__link{
                    position: absolute;
                    width: 2px;
                    height: 30px;
                    left: 40px;
                    background-color: #dedede;
                    &.top-line-link{
                        top: 0;
                    }
                    &.bottom-line-link{
                        height: calc(100% - 95px);
                        bottom: 0;
                    }
                }
            }
            &:last-of-type {
                > .process-node-condition__children-item-line {
                    width: 32px;
                }
            }
            &:not(:first-of-type){
                > .process-node-condition__children-item-line__link{
                    left: 70px;
                }
            }
        }
    }
}

.process-node-popover {
    padding: 0;
    border-radius: 8px;
}
.trigger-confirm {
    .trigger-confirm-button {
        background-color: #f36161 !important;
        color: #fff !important;
        border-color: #f36161 !important;
        &:hover {
            background-color: #e44545 !important;
            color: #fff !important;
            border-color: #e44545 !important;
        }
    }
    .trigger-cancel-button {
        background-color: #f5f8fa !important;   
        border-color: #cbd6e2 !important;
        color: #595959 !important;
        &:hover {
            background-color: #f5f8fa !important;   
            border-color: $color-primary !important;
            color: $color-primary !important;
        }
    }
}
